#ifndef _EMPLOYEETO_FILTER_H_
#define _EMPLOYEETO_FILTER_H_

namespace erp{
namespace employee{  //请务必修改到合适的namespace 建议为 bo
namespace to{  //务必修改到合适的namespace, 建议与业务相关.
class CEmployeeFilterPoConvCEmployeeFilterDdo{

	public:

	template <class T_SRC, class T_DEST>
	static void Conv_CEmployeeFilterPo_To_CEmployeeFilterDdo(const T_SRC & oSrc,T_DEST & oDest){
		oDest.SetVersion(oSrc.GetVersion(),oSrc.GetVersionUFlag());
		oDest.SetPage(oSrc.GetPage(),oSrc.GetPageUFlag());
		oDest.SetPageSize(oSrc.GetPageSize(),oSrc.GetPageSizeUFlag());
		oDest.SetOrderType(oSrc.GetOrderType(),oSrc.GetOrderTypeUFlag());
		oDest.SetIdList(oSrc.GetIdList(),oSrc.GetIdListUFlag());
		oDest.SetEmployeeName(oSrc.GetEmployeeName(),oSrc.GetEmployeeNameUFlag());
		oDest.SetEmployeeEnglishName(oSrc.GetEmployeeEnglishName(),oSrc.GetEmployeeEnglishNameUFlag());
		oDest.SetEmployeeStatus(oSrc.GetEmployeeStatus(),oSrc.GetEmployeeStatusUFlag());
		oDest.SetEmployeePropertyInclude(oSrc.GetEmployeePropertyInclude(),oSrc.GetEmployeePropertyIncludeUFlag());
		oDest.SetEmployeePropertyExclude(oSrc.GetEmployeePropertyExclude(),oSrc.GetEmployeePropertyExcludeUFlag());
		oDest.SetEmployeePropertyOption(oSrc.GetEmployeePropertyOption(),oSrc.GetEmployeePropertyOptionUFlag());
		oDest.SetAddTimeBegin(oSrc.GetAddTimeBegin(),oSrc.GetAddTimeBeginUFlag());
		oDest.SetAddTimeEnd(oSrc.GetAddTimeEnd(),oSrc.GetAddTimeEndUFlag());
		oDest.SetExtern(oSrc.GetExtern(),oSrc.GetExternUFlag());
	}

	template <class T_SRC, class T_DEST>
	static void Conv_CEmployeeFilterDdo_To_CEmployeeFilterPo(const T_SRC & oSrc,T_DEST & oDest){
		oDest.SetVersion(oSrc.GetVersion(),oSrc.GetVersionUFlag());
		oDest.SetPage(oSrc.GetPage(),oSrc.GetPageUFlag());
		oDest.SetPageSize(oSrc.GetPageSize(),oSrc.GetPageSizeUFlag());
		oDest.SetOrderType(oSrc.GetOrderType(),oSrc.GetOrderTypeUFlag());
		oDest.SetIdList(oSrc.GetIdList(),oSrc.GetIdListUFlag());
		oDest.SetEmployeeName(oSrc.GetEmployeeName(),oSrc.GetEmployeeNameUFlag());
		oDest.SetEmployeeEnglishName(oSrc.GetEmployeeEnglishName(),oSrc.GetEmployeeEnglishNameUFlag());
		oDest.SetEmployeeStatus(oSrc.GetEmployeeStatus(),oSrc.GetEmployeeStatusUFlag());
		oDest.SetEmployeePropertyInclude(oSrc.GetEmployeePropertyInclude(),oSrc.GetEmployeePropertyIncludeUFlag());
		oDest.SetEmployeePropertyExclude(oSrc.GetEmployeePropertyExclude(),oSrc.GetEmployeePropertyExcludeUFlag());
		oDest.SetEmployeePropertyOption(oSrc.GetEmployeePropertyOption(),oSrc.GetEmployeePropertyOptionUFlag());
		oDest.SetAddTimeBegin(oSrc.GetAddTimeBegin(),oSrc.GetAddTimeBeginUFlag());
		oDest.SetAddTimeEnd(oSrc.GetAddTimeEnd(),oSrc.GetAddTimeEndUFlag());
		oDest.SetExtern(oSrc.GetExtern(),oSrc.GetExternUFlag());

	}
};
}
}
}

#endif /* _EMPLOYEETO_FILTER_H_ */
